<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The SplType class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="spl-types.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="spltype.construct.html">SplType::__construct</a></div>
 <div class="up"><a href="book.spl-types.html">SPL Types</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.spltype" class="reference">

 <h1 class="title">The SplType class</h1>
 

 <div class="partintro"><p class="verinfo">(PECL spl_types &gt;= 0.1.0)</p>


  <div class="section" id="spltype.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    Parent class for all SPL types.
   </p>
  </div>


  <div class="section" id="spltype.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <span class="modifier">abstract</span> <strong class="classname">SplType</strong>
     </span>
     {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Constants */</div>
    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">NULL</span>
      <var class="fieldsynopsis_varname"><a href="class.spltype.html#spltype.constants.default"><var class="varname">__default</var></a></var>
     <span class="initializer"> = null</span>
    ;</div>

    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="methodname"><a href="spltype.construct.html" class="methodname">__construct</a></span>
    ([ <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$initial_value</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$strict</code></span>
  ]] )</div>

   }</div>


  </div>
  

  <div class="section" id="spltype.constants">
   <h2 class="title">预定义常量</h2>
   <dl>


    
     <dt id="spltype.constants.default"><strong><code>SplType::__default</code></strong></dt>

     <dd>

      <p class="para"/>
     </dd>

    

   </dl>

  </div>



 </div>

 








<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="spltype.construct.html">SplType::__construct</a> — Creates a new value of some type</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="spl-types.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="spltype.construct.html">SplType::__construct</a></div>
 <div class="up"><a href="book.spl-types.html">SPL Types</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
